import {createRouter,createWebHashHistory} from "vue-router"
import BarrageWordCloud from "../view/admin/BarrageWordCloud"
import barrageTop from "../view/admin/barrageTop"
import index from "../view/admin/composite"
const routes = [
    {
        path: '/',
        redirect: {
            path: '/index'
        }
    },
    {
        path: '/index',
        name:"index",
        component: index
    },
    {
        path: '/barrageWordCould',
        name:"barrageWordCould",
        component: BarrageWordCloud
    },
    {
        path: '/barrageTop',
        name:"barrageTop",
        component: barrageTop
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes,
})
export default router